package com.swust.book_shop.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

/**
 * @author liushuai
 * @create 2022-05-18 13:36
 */
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Data
public class AuthVo {
    private  Integer id;
    @Pattern(regexp = "^\\d{18}$",message = "身份证不合法")
    private String idCard;
}
